package org.shj.dhsjjg.primarypath;

public class VertexNode {

	private int in; // 顶点入度
	private int data; // 项点域， 存储顶点信息
	private EdgeNode firstEdge; // 指向第一个邻接点
	
	public VertexNode(){}
	
	public VertexNode(int in, int data){
		this.in = in;
		this.data = data;
	}

	public int getIn() {
		return in;
	}

	public void setIn(int in) {
		this.in = in;
	}

	public int getData() {
		return data;
	}

	public void setData(int data) {
		this.data = data;
	}

	public EdgeNode getFirstEdge() {
		return firstEdge;
	}

	public void setFirstEdge(EdgeNode firstEdge) {
		this.firstEdge = firstEdge;
	}

}
